package com.ruoyi.omcontent.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 内容管理对象 om_content
 * 
 * @author ruoyi
 * @date 2025-02-20
 */
public class OmContent extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 用户协议id */
    private Long contentId;

    /** 内容标题 */
    private String contentName;

    /** 内容详情 */
    private String contentText;

    /** 类型 */
    private Integer contentType;

    /** 创建时间 */
    private Date contentCreatetime;

    /** 更新时间 */
    private Date contentUpdatetime;

    public void setContentId(Long contentId) 
    {
        this.contentId = contentId;
    }

    public Long getContentId() 
    {
        return contentId;
    }
    public void setContentName(String contentName) 
    {
        this.contentName = contentName;
    }

    public String getContentName() 
    {
        return contentName;
    }
    public void setContentText(String contentText) 
    {
        this.contentText = contentText;
    }

    public String getContentText() 
    {
        return contentText;
    }
    public void setContentType(Integer contentType) 
    {
        this.contentType = contentType;
    }

    public Integer getContentType() 
    {
        return contentType;
    }
    public void setContentCreatetime(Date contentCreatetime) 
    {
        this.contentCreatetime = contentCreatetime;
    }

    public Date getContentCreatetime() 
    {
        return contentCreatetime;
    }
    public void setContentUpdatetime(Date contentUpdatetime) 
    {
        this.contentUpdatetime = contentUpdatetime;
    }

    public Date getContentUpdatetime() 
    {
        return contentUpdatetime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("contentId", getContentId())
            .append("contentName", getContentName())
            .append("contentText", getContentText())
            .append("contentType", getContentType())
            .append("contentCreatetime", getContentCreatetime())
            .append("contentUpdatetime", getContentUpdatetime())
            .toString();
    }
}
